package com.tcm.ucenter.web.exception;

public class TokenRuntimeException extends RuntimeException{
 
  private final Integer code = 401;
  private final String message;
 
  public TokenRuntimeException(String msg) {
    this.message = msg;
  }

  public Integer getCode() {
    return code;
  }

  @Override
  public String getMessage() {
    return message;
  }
}